package com.example.shiro.shiro.model;

import com.example.shiro.shiro.log.SystemLog;
import lombok.Data;
import org.aspectj.lang.JoinPoint;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;

import javax.servlet.http.HttpServletRequest;

/**
 * @author chong
 * @create 2020/4/3
 * Desc: 日志记录
 */
@Data
public class Log {


    private Long id;
    private Long userId;
    private String userName;
    private String operationIP;
    /*操作日志实体类*/
    private String modelName;//模块名称
    private String operationName;//操作名称
    private String operationType;//操作类型
    private String operationDesc;
    private String operationClas;
    private String params;
    private String method;
    private String exceptionInfo;
}
